package com.ruoyi.system.mapper.process;


import com.ruoyi.system.domain.process.ProcessAluminizedRibbon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 镀铝和并卷关联Mapper接口
 * 
 * @author ljx
 * @date 2020-07-09
 */
public interface ProcessAluminizedRibbonMapper 
{
    /**
     * 查询镀铝和并卷关联
     * 
     * @param id 镀铝和并卷关联ID
     * @return 镀铝和并卷关联
     */
    public ProcessAluminizedRibbon selectProcessAluminizedRibbonById(Long id);
    List<Long> selectRibbonIdAll();

    /**
     * 查询镀铝和并卷关联列表
     * 
     * @param processAluminizedRibbon 镀铝和并卷关联
     * @return 镀铝和并卷关联集合
     */
    public List<ProcessAluminizedRibbon> selectProcessAluminizedRibbonList(ProcessAluminizedRibbon processAluminizedRibbon);

    /**
     * 新增镀铝和并卷关联
     * 
     * @param processAluminizedRibbon 镀铝和并卷关联
     * @return 结果
     */
    public int insertProcessAluminizedRibbon(ProcessAluminizedRibbon processAluminizedRibbon);
    //批量插入关联关系表
    int insertList(@Param("aluminizId") Long aluminizId, @Param("ribbonIds") List<Long> ribbonIds);
    /**
     * 修改镀铝和并卷关联
     * 
     * @param processAluminizedRibbon 镀铝和并卷关联
     * @return 结果
     */
    public int updateProcessAluminizedRibbon(ProcessAluminizedRibbon processAluminizedRibbon);

    /**
     * 删除镀铝和并卷关联
     * 
     * @param id 镀铝和并卷关联ID
     * @return 结果
     */
    public int deleteProcessAluminizedRibbonById(Long id);

    /**
     * 批量删除镀铝和并卷关联
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteProcessAluminizedRibbonByIds(String[] ids);
    int deleteByRibbonIds(String[] ids);
}
